package it.uniroma2.art.coda.pearl.model;

import java.util.List;

public class PlaceholderStruct {

	private String name; // the id for a particular type and feature
	private String rdfType;
	private List<String> converterList;
	private String featurePath;
	private ProjectionRule ownerRule;
	private String literalLang;
	private String literalDatatype;

	// placeholder taken from the nodes part of the projection rule
	public PlaceholderStruct(String name, String rdfType, List<String> converterList, String featurePath,
			ProjectionRule ownerRule) {
		initialize(name, rdfType, converterList, featurePath, ownerRule);
	}

	private void initialize(String name, String type, List<String> converterList, String featurePath,
			ProjectionRule ownerRule) {
		this.name = name;
		this.rdfType = type;
		this.converterList = converterList;
		this.featurePath = featurePath;
		this.ownerRule = ownerRule;
	}

	public String getName() {
		return name;
	}

	public String getRDFType() {
		return rdfType;
	}

	public List<String> getConverterList() {
		return converterList;
	}

	public String getFeaturePath() {
		return featurePath;
	}

	public ProjectionRule getOwnerRule() {
		return ownerRule;
	}

	public void setLiteralLang(String lang) {
		this.literalLang = lang;
	}
	
	public void setLiteralDatatype(String datatype) {
		this.literalDatatype = datatype;
	}

	public String getLiteralLang() {
		return literalLang;
	}

	public String getLiteralDatatype() {
		return literalDatatype;
	}	
}
